package com.ybkj.o2o.zhuanche.amqp.docking;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by tanglei on 7/2/2017
 */
public class DdwyMessage implements Serializable{

	private static final long serialVersionUID = 1L;
	public static final  int DRIVERBREAKER = 1;
	public static final  int PASSENGERBREAKER = 2;
	private String orderNo; //订单号
	
	private int breaker; //违约方 1司机违约 2乘客违约
	
	private String breakReason; //违约原因
	
	private String appKey;

	private Date cancelTime;

	private String cancelTypeCode;


	public Date getCancelTime() {
		return cancelTime;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public String getCancelTypeCode() {
		return cancelTypeCode;
	}

	public void setCancelTypeCode(String cancelTypeCode) {
		this.cancelTypeCode = cancelTypeCode;
	}

	public void setType(String type) {
		this.type = type;
	}

	private String type = Type.MOREQ_DDWY;
	
	public String getType() {
		return type;
	}

	
	public int getBreaker() {
		return breaker;
	}


	public void setBreaker(int breaker) {
		this.breaker = breaker;
	}


	public String getBreakReason() {
		return breakReason;
	}


	public void setBreakReason(String breakReason) {
		this.breakReason = breakReason;
	}


	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
}
